#ifndef __GS_CLIENT_H__
#define __GS_CLIENT_H__


#include <stdlib.h>

struct aeEventLoop;
struct Buffer;

typedef struct Client {
    struct aeEventLoop* el;
    int fd;
    struct Buffer* input;
    struct Buffer* output;
    void* data;
} Client;

Client* ClientCreate(struct aeEventLoop* el, int fd, void* data);
void ClientDestroy(Client* client);

#endif
